package com.xh.fma.commodity.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.xh.common.utils.PageUtils;
import com.xh.fma.commodity.entity.AttrEntity;
import com.xh.fma.commodity.entity.AttrgroupEntity;
import com.xh.fma.commodity.vo.AttrGroupWithAttrsVo;

import java.util.List;
import java.util.Map;

/**
 * 家居商品属性分组
 *
 * @author sjf
 * @email xhyy7762@gmail.com
 * @date 2023-05-27 17:06:03
 */
public interface AttrgroupService extends IService<AttrgroupEntity> {

    PageUtils queryPage(Map<String, Object> params);

    PageUtils queryPageByIdNameCategory(Map<String, Object> params,Long categoryId);

    List<AttrEntity> getRelationAttr(Long attrGroupId);

    List<AttrGroupWithAttrsVo> getAttrGroupAttr(Long categoryId);
}

